internal/strconv.decimal.dp (field)
37 uses
internal/strconv (current package)
atof.go#L110: b.dp = b.nd
atof.go#L116: b.dp--
atof.go#L133: b.dp = b.nd
atof.go#L167: b.dp += e * esign
atof.go#L336: if d.dp > 310 {
atof.go#L339: if d.dp < -330 {
atof.go#L348: for d.dp > 0 {
atof.go#L350: if d.dp >= len(powtab) {
atof.go#L353: n = powtab[d.dp]
atof.go#L358: for d.dp < 0 || d.dp == 0 && d.d[0] < '5' {
atof.go#L360: if -d.dp >= len(powtab) {
atof.go#L363: n = powtab[-d.dp]
decimal.go#L17: dp int // decimal point
decimal.go#L24: if a.dp > 0 {
decimal.go#L25: n += a.dp
decimal.go#L27: if a.dp < 0 {
decimal.go#L28: n += -a.dp
decimal.go#L37: case a.dp <= 0:
decimal.go#L43: w += digitZero(buf[w : w+-a.dp])
decimal.go#L46: case a.dp < a.nd:
decimal.go#L48: w += copy(buf[w:], a.d[0:a.dp])
decimal.go#L51: w += copy(buf[w:], a.d[a.dp:a.nd])
decimal.go#L56: w += digitZero(buf[w : w+a.dp-a.nd])
decimal.go#L76: a.dp = 0
decimal.go#L100: a.dp = a.nd
decimal.go#L132: a.dp -= r - 1
decimal.go#L310: a.dp += delta
decimal.go#L394: a.dp++
decimal.go#L400: if a.dp > 20 {
decimal.go#L405: for i = 0; i < a.dp && i < a.nd; i++ {
decimal.go#L408: for ; i < a.dp; i++ {
decimal.go#L411: if shouldRoundUp(a, a.dp) {
ftoa.go#L207: d.Round(d.dp + prec)
ftoa.go#L214: return fmtEFG(dst, neg, d.d[:], d.dp, d.nd, prec, fmt, false)
ftoa.go#L337: d.Round(d.dp + prec)
ftoa.go#L344: return fmtEFG(dst, neg, d.d[:], d.dp, d.nd, prec, fmt, false)